<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:p="http://primefaces.prime.com.tr/ui">

    <body>

        <ui:composition>



            <h3>Dados Pessoais</h3>

            <div id="stylized" class="myform">
                <div class="relato">



                    <table>

                        <tr>
                            <th>Nome:</th>
                            <td>#{ProfessorController.professorAux.nome}</td>
                        </tr>
                        <tr>
                            <th>Data de Nascimento:</th>
                            <td>#{ProfessorController.professorAux.dataNascimento}</td>
                        </tr>
                        <tr>
                            <th>Sexo:</th>
                            <td>#{ProfessorController.professorAux.sexo}</td>
                        </tr>
                        <tr>
                            <th>E-Mail:</th>
                            <td>#{ProfessorController.professorAux.email}</td>
                        </tr>

                        <tr>
                            <th>Usuario:</th>
                            <td>#{ProfessorController.professorAux.usuario.usuario}</td>
                        </tr>



                    </table>
                </div>
                <h:commandButton styleClass="button" action="#{ProfessorController.editButton}" value="Editar" />

            </div>

        </ui:composition>

    </body>
</html>
